package model.newhouse.service;


import model.newhouse.entity.Newhouse;

import java.util.List;

public interface INewhouseService {

    void save(Newhouse newhouse);

    void  del(String newhouseId);

    void update(Newhouse newhouse);

    List<Newhouse> findAll();

//    List<Newhouse> findByMetro(String newhouseMetro,String newhouseSchool,String newhouseCommerce);


    List<Newhouse> findByMetro(String newhouseMetro);

    List<Newhouse> findBySchool(String newhouseSchool);

    List<Newhouse> findByCommerce(String newhouseCommerce);

}
